﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;


[RequireComponent(typeof(TextMeshProUGUI))]
public class TextFromLanguageCOM : MonoBehaviour
{
    private void Awake()
    {
        var textGUI = GetComponent<TextMeshProUGUI>();
        textGUI.text = Language.Get(textGUI.text);
    }
}
